<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
    <style>

        img {
            width: 200px;
        }

        ul {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }

    </style>
</head>
<body>
    <ul></ul>

    <script>

        const url = 'https://www.mxnzp.com/api/image/girl/list/random'
        const search = {
            app_id: 'qjwkhneqigkkujok',
            app_secret: 'VjNDVmIrZFkvaGhNdElPbmQxQzRhUT09'
        }

        $.get(url, search, res => {

            // 响应成功，数据在data中，在这里拼接页面
            // console.log(res);
            res.data.forEach(item => {
                // item.imageUrl
                const str = `
                    <li>
                        <img src="${ item.imageUrl }">
                    </li>
                `

                $("ul").append(str)
            })
        })

    </script>
</body>
</html>